|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | WDT_A_ISR (void) |
| void main | ( | void | ) |
WDT - Toggle P1.0, Interval Overflow ISR, 32kHz ACLK
Toggle P1.0 using software timed by WDT ISR. Toggle rate is exactly 250ms based on 32kHz ACLK WDT clock source. In this example the WDT is configured to divide 32768 watch-crystal(2^15) by 2^13 with an ISR triggered @ 4Hz = [WDT CLK source/32768]. ACLK = REFO , MCLK = SMCLK = default DCO ~1.045MHz
| / | | |
|---|---|
| – | RST |
| P1.0 | -->LED |
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 63 of file wdt_a_ex2_intervalACLK.c.
References __no_operation().
| void WDT_A_ISR | ( | void | ) |
Definition at line 96 of file wdt_a_ex2_intervalACLK.c.